package com.example.jzg.mvpdemo.base;
/**
 * author: gcc
 * date: 2016/12/5 11:19
 * email:
 */

import com.example.jzg.mvpdemo.bean.LoginBean;

import java.util.Map;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * author: guochen
 * date: 2016/12/5 11:19
 * email: 
 */
public interface HttpService {
    @FormUrlEncoded
    @POST("/App/UserHandler.ashx")
    public Observable<LoginBean> login(@FieldMap Map<String, String> params);
}
